<!-- 添加 -->
<script id="tpl-add" type="text/template">
    <div class="am-padding-xs am-padding-top-sm">
		<div class="tips am-margin-bottom-sm am-u-sm-12">
			<div class="pre-info">
				<p> 注：推送数据请到“模板库”中选择最新的模板记录进行填写</p>
			</div>
		</div>
		<div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">模板类型 </label>
            <div class="am-u-sm-9 am-u-end">
                <select name="data[app_type]" data-am-selected="{searchBox: 1, btnSize: 'sm'}" required>
                    <option value="">请选择类型</option>
                    {{ each list }}
				    <option value="{{ $value.app_type }}">{{ $value.name }}</option>
                    {{ /each }}
                </select>
            </div>
        </div>
		<div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">模板ID </label>
            <div class="am-u-sm-9 am-u-end">
                <input type="number" class="tpl-form-input" name="data[id]" required>
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">版本号 </label>
            <div class="am-u-sm-9 am-u-end">
                <input type="text" class="tpl-form-input" name="data[user_version]" required>
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">版本描述 </label>
            <div class="am-u-sm-9 am-u-end">
                <input type="text" class="tpl-form-input" name="data[user_desc]" required>
            </div>
        </div>
    </div>  
</script>
